Abstract class used to derive classes that calculates the effect of the input on the units of a SOM (neighborhood function)
Subroutine template to calculate function Import section
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(neighborhood_function_base) | :: | my_neigh_fn |
A |
|||
real(kind=wp), | intent(inout) | :: | geometric_distance |
A real variable with the geometric or grid distance of a SOM unit |
A real variable with the value of the neighborhood function
type,abstract :: neighborhood_function_base !! Abstract class used to derive classes that calculates the effect of the input on the !! units of a SOM (neighborhood function) contains procedure(neighborhood_function_calculate),deferred :: calculate end type neighborhood_function_base